<?php /* Smarty version 2.6.18, created on 2009-05-21 08:12:30
         compiled from ua-admin/left.html */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><?php echo $this->_tpl_vars['sitename']; ?>
_控制台-<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<link rel="stylesheet" type="text/css" id="css" href="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/admincp.css">
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/admin.js"></script>
<script>
var is_ie = document.all ? true : false;
var is_ff = window.addEventListener ? true : false;
function refreshmainframe(e) {
	e = e ? e : window.event;
	actualCode = e.keyCode ? e.keyCode : e.charCode;
	if(actualCode == 116 && parent.main) {
		parent.main.location.reload();
		if(is_ie) {
			e.keyCode = 0;
			e.returnValue = false;
		} else {
			e.preventDefault();
		}
	}
}
var collapsed=get_cookie('bbs_collapse');
function collapse_change(menucount) {
	if($('menu_' + menucount).style.display == 'none') {
		$('menu_' + menucount).style.display = '';collapsed = collapsed.replace('[' + menucount + ']' , '');
		$('menuimg_' + menucount).src = '<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/menu_reduce.gif';
	} else {
		$('menu_' + menucount).style.display = 'none';collapsed += '[' + menucount + ']';
		$('menuimg_' + menucount).src = '<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/menu_add.gif';
	}
	set_cookie('bbs_collapse', collapsed);
}
</script>
</head>

<body onkeydown="refreshmainframe(event)" style="margin:5px!important;margin:3px;">
<table width="146" border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-bottom: 5px;"><tr class="leftmenutext"><td><div align="center"><a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
" target="_blank">网站首页</a>&nbsp;&nbsp;<a href="<?php echo $this->_tpl_vars['SiteUrl']; ?>
ua-admin/"  onClick="parent.main.location='home.php?action=home';return false;">后台首页</a></div></td></tr></table>
<?php 
$i = 1;
 ?>
<?php unset($this->_sections['sub_menu']);
$this->_sections['sub_menu']['loop'] = is_array($_loop=$this->_tpl_vars['ActionMenus']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['sub_menu']['name'] = 'sub_menu';
$this->_sections['sub_menu']['show'] = true;
$this->_sections['sub_menu']['max'] = $this->_sections['sub_menu']['loop'];
$this->_sections['sub_menu']['step'] = 1;
$this->_sections['sub_menu']['start'] = $this->_sections['sub_menu']['step'] > 0 ? 0 : $this->_sections['sub_menu']['loop']-1;
if ($this->_sections['sub_menu']['show']) {
    $this->_sections['sub_menu']['total'] = $this->_sections['sub_menu']['loop'];
    if ($this->_sections['sub_menu']['total'] == 0)
        $this->_sections['sub_menu']['show'] = false;
} else
    $this->_sections['sub_menu']['total'] = 0;
if ($this->_sections['sub_menu']['show']):

            for ($this->_sections['sub_menu']['index'] = $this->_sections['sub_menu']['start'], $this->_sections['sub_menu']['iteration'] = 1;
                 $this->_sections['sub_menu']['iteration'] <= $this->_sections['sub_menu']['total'];
                 $this->_sections['sub_menu']['index'] += $this->_sections['sub_menu']['step'], $this->_sections['sub_menu']['iteration']++):
$this->_sections['sub_menu']['rownum'] = $this->_sections['sub_menu']['iteration'];
$this->_sections['sub_menu']['index_prev'] = $this->_sections['sub_menu']['index'] - $this->_sections['sub_menu']['step'];
$this->_sections['sub_menu']['index_next'] = $this->_sections['sub_menu']['index'] + $this->_sections['sub_menu']['step'];
$this->_sections['sub_menu']['first']      = ($this->_sections['sub_menu']['iteration'] == 1);
$this->_sections['sub_menu']['last']       = ($this->_sections['sub_menu']['iteration'] == $this->_sections['sub_menu']['total']);
?>
<div id="<?php echo $this->_tpl_vars['ActionMenus'][$this->_sections['sub_menu']['index']]['ename']; ?>
" style="display:<?php if ($this->_tpl_vars['ActionMenus'][$this->_sections['sub_menu']['index']]['ename'] == 'home'): ?>yes<?php else: ?>none<?php endif; ?>">
	<?php unset($this->_sections['sub_menu2']);
$this->_sections['sub_menu2']['name'] = 'sub_menu2';
$this->_sections['sub_menu2']['loop'] = is_array($_loop=$this->_tpl_vars['ActionMenus'][$this->_sections['sub_menu']['index']]['items']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['sub_menu2']['show'] = true;
$this->_sections['sub_menu2']['max'] = $this->_sections['sub_menu2']['loop'];
$this->_sections['sub_menu2']['step'] = 1;
$this->_sections['sub_menu2']['start'] = $this->_sections['sub_menu2']['step'] > 0 ? 0 : $this->_sections['sub_menu2']['loop']-1;
if ($this->_sections['sub_menu2']['show']) {
    $this->_sections['sub_menu2']['total'] = $this->_sections['sub_menu2']['loop'];
    if ($this->_sections['sub_menu2']['total'] == 0)
        $this->_sections['sub_menu2']['show'] = false;
} else
    $this->_sections['sub_menu2']['total'] = 0;
if ($this->_sections['sub_menu2']['show']):

            for ($this->_sections['sub_menu2']['index'] = $this->_sections['sub_menu2']['start'], $this->_sections['sub_menu2']['iteration'] = 1;
                 $this->_sections['sub_menu2']['iteration'] <= $this->_sections['sub_menu2']['total'];
                 $this->_sections['sub_menu2']['index'] += $this->_sections['sub_menu2']['step'], $this->_sections['sub_menu2']['iteration']++):
$this->_sections['sub_menu2']['rownum'] = $this->_sections['sub_menu2']['iteration'];
$this->_sections['sub_menu2']['index_prev'] = $this->_sections['sub_menu2']['index'] - $this->_sections['sub_menu2']['step'];
$this->_sections['sub_menu2']['index_next'] = $this->_sections['sub_menu2']['index'] + $this->_sections['sub_menu2']['step'];
$this->_sections['sub_menu2']['first']      = ($this->_sections['sub_menu2']['iteration'] == 1);
$this->_sections['sub_menu2']['last']       = ($this->_sections['sub_menu2']['iteration'] == $this->_sections['sub_menu2']['total']);
?>
		<table width="146" border="0" cellspacing="0" align="center" cellpadding="0" class="leftmenulist" style="margin-bottom: 5px;">
		<tr class="leftmenutext"><td><a href="###" onclick="collapse_change(<?php echo $i; ?>)"><img id="menuimg_<?php echo $i; ?>" src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/<?php if ($this->_tpl_vars['ActionMenus'][$this->_sections['sub_menu']['index']]['items'][$this->_sections['sub_menu2']['index']]['show'] == true): ?>menu_reduce.gif<?php else: ?>menu_add.gif<?php endif; ?>" border="0"/></a>&nbsp;<a href="#" onclick="collapse_change(<?php echo $i; ?>)"><?php echo $this->_tpl_vars['ActionMenus'][$this->_sections['sub_menu']['index']]['items'][$this->_sections['sub_menu2']['index']]['cname']; ?>
</a></td></tr>
		<tbody id="menu_<?php echo $i; ?>" style="display:<?php if ($this->_tpl_vars['ActionMenus'][$this->_sections['sub_menu']['index']]['items'][$this->_sections['sub_menu2']['index']]['show'] == true): ?>yes<?php else: ?>none<?php endif; ?>">
		<tr class="leftmenutd"><td>
		<table border="0" cellspacing="0" cellpadding="0" class="leftmenuinfo">
		<?php unset($this->_sections['sub_menu3']);
$this->_sections['sub_menu3']['name'] = 'sub_menu3';
$this->_sections['sub_menu3']['loop'] = is_array($_loop=$this->_tpl_vars['ActionMenus'][$this->_sections['sub_menu']['index']]['items'][$this->_sections['sub_menu2']['index']]['items']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['sub_menu3']['show'] = true;
$this->_sections['sub_menu3']['max'] = $this->_sections['sub_menu3']['loop'];
$this->_sections['sub_menu3']['step'] = 1;
$this->_sections['sub_menu3']['start'] = $this->_sections['sub_menu3']['step'] > 0 ? 0 : $this->_sections['sub_menu3']['loop']-1;
if ($this->_sections['sub_menu3']['show']) {
    $this->_sections['sub_menu3']['total'] = $this->_sections['sub_menu3']['loop'];
    if ($this->_sections['sub_menu3']['total'] == 0)
        $this->_sections['sub_menu3']['show'] = false;
} else
    $this->_sections['sub_menu3']['total'] = 0;
if ($this->_sections['sub_menu3']['show']):

            for ($this->_sections['sub_menu3']['index'] = $this->_sections['sub_menu3']['start'], $this->_sections['sub_menu3']['iteration'] = 1;
                 $this->_sections['sub_menu3']['iteration'] <= $this->_sections['sub_menu3']['total'];
                 $this->_sections['sub_menu3']['index'] += $this->_sections['sub_menu3']['step'], $this->_sections['sub_menu3']['iteration']++):
$this->_sections['sub_menu3']['rownum'] = $this->_sections['sub_menu3']['iteration'];
$this->_sections['sub_menu3']['index_prev'] = $this->_sections['sub_menu3']['index'] - $this->_sections['sub_menu3']['step'];
$this->_sections['sub_menu3']['index_next'] = $this->_sections['sub_menu3']['index'] + $this->_sections['sub_menu3']['step'];
$this->_sections['sub_menu3']['first']      = ($this->_sections['sub_menu3']['iteration'] == 1);
$this->_sections['sub_menu3']['last']       = ($this->_sections['sub_menu3']['iteration'] == $this->_sections['sub_menu3']['total']);
?>
			<tr><td><a href="<?php echo $this->_tpl_vars['ActionMenus'][$this->_sections['sub_menu']['index']]['items'][$this->_sections['sub_menu2']['index']]['items'][$this->_sections['sub_menu3']['index']]['url']; ?>
" target="main" title="<?php echo $this->_tpl_vars['ActionMenus'][$this->_sections['sub_menu']['index']]['items'][$this->_sections['sub_menu2']['index']]['items'][$this->_sections['sub_menu3']['index']]['title']; ?>
"><?php echo $this->_tpl_vars['ActionMenus'][$this->_sections['sub_menu']['index']]['items'][$this->_sections['sub_menu2']['index']]['items'][$this->_sections['sub_menu3']['index']]['cname']; ?>
</a></td></tr>
		<?php endfor; endif; ?>
		</table></td></tr></tbody></table>
		</td></tr>
		</tbody>
		</table>
		<?php $i++; ?>
	<?php endfor; endif; ?>
</div>
<?php endfor; endif; ?>
</body>
</html>